//
//  Movie.h
//  RGATest
//
//  Created by Pablo Javier Bertola on 2/7/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Director;

@interface Movie : NSManagedObject

@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSNumber * year;
@property (nonatomic, retain) Director *director;

+(Movie *)movieWithData:(NSDictionary *)movieData inContext:(NSManagedObjectContext*)context;

@end
